The command "source" causes MacShell to open the file specified by the first argument and interpret each line of that file's data fork as a MacShell command.
Any arguments following the scriptname will be used to set a special shell variable 'argv' prior to beginning execution. This variable can be queried from within the script. See manual entries for 'macshell' and 'set' for more information about shell variables.
The pound character "#" may be used to introduce a comment in a script.
Shell scripts which are considered 'executable' by MacShell can be executed as normal commands, and do not require using the 'source' utility. An executable shell script must meet the following conditions:
-File creator tag must match MacShell's
-File type tag must be 'TEXT'
-The file must begin with the two character sequence '#!'.